﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// 缓存_数据源
/// </summary>
public class Cache_DataSource : PCache
{
    public Cache_DataSource()
    {

    }

    #region 要重写的类和属性
    protected override string appname
    {
        get { return "DataSource"; }
    }

    protected override object GetDBdata(object index)
    {
        DataEntity.tab_DataSource obj = new DataEntity.tab_DataSource();
        obj.Select(Convert.ToInt32(index));
        return obj;
    }
    #endregion
}
